﻿namespace BM.Tools.WebControls.MForm.Controls.Tabs
{
    using System.ComponentModel;

    /// <summary>
    /// The tab container class characteristic for the MForm items.
    /// </summary>
    [DesignTimeVisible(false)]
    public class FormTabContainer : TabContainer
    {
        /// <summary>
        /// Gets ClientID.
        /// </summary>
        /// <value>
        /// The client id.
        /// </value>
        public override string ClientID
        {
            get
            {
                return string.Concat(NamingContainer.Parent.ClientID, "_", ID);
            }
        }
    }
}